#ifndef AI_HANDLER_HH_
# define AI_HANDLER_HH_

# include <list>
# include <algorithm>
# include "../game/unit.hh"

class AIHandler
{
public:
  AIHandler ();
  ~AIHandler ();

  void add_object (Unit* o);
  void del_object (Unit* o);
  void act ();

protected:
  Unit* find_target (int playerid);

  std::list<Unit*> list_;
};

#endif /// !AI_HANDLER_HH_
